cmake_minimum_required(VERSION 3.0)

project(logcpp)

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall")
set(CMAKE_BUILD_TYPE Debug)
# PROJECT_SOURCE_DIR:当前工程目录下，如果没有install则创建。
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/install)

include_directories(./src)

set(SRCALL src/Logger.cpp)

add_executable(cpplog.exe main.cpp ${SRCALL})